#include <iostream>

using namespace std;

int main(){
    int i;

    cout << "Which is your favorite color:" << endl;
    cout << "Red(1), Orange(2), Yellow(3), Green(4) ";
    cout << "Blue(5), Violet(6)" << endl;
    cin >> i;

    switch(i){
        case 1:
            cout << "Red is a nice color!" << endl; break;
        case 2:
            cout << "Orange is a nice color!" << endl; break;
        case 3:
            cout << "Yellow is a nice color!" << endl; break;
        case 4:
            cout << "Green is a nice color!" << endl; break;
        case 5:
            cout << "Blue is a nice color!" << endl; break;
        case 6:
            cout << "Violet is a nice color!" << endl; break;
        default:
            cout << "You did not enter a valid color, goodbye." << endl;
            break;
    }
    return 0;
}
